﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skywave.Reporting
{
    public class HtmlReportFieldString : HtmlReportField
    {
        internal override string GetContent(HtmlReportFieldGetContentArgs e)
        {
            if (e.Value == null)
                return "";
            else
                return System.Web.HttpUtility.HtmlEncode(e.Value.ToString());
        }

        internal override void Create_Internal(string toParse)
        {
        }
    }
}
